package cn.wolfcode.luowowo.search.vo;

import cn.wolfcode.luowowo.domain.Destination;
import cn.wolfcode.luowowo.domain.Strategy;
import cn.wolfcode.luowowo.domain.Travel;
import cn.wolfcode.luowowo.domain.UserInfo;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 封装result中的数据
 */
@Setter
@Getter
public class SearchResultVO implements Serializable {

    private Long total = 0L;

    private List<Destination> dests = new ArrayList<>();
    private List<Travel> travels = new ArrayList<>();
    private List<Strategy> strategys = new ArrayList<>();
    private List<UserInfo> users = new ArrayList<>();
}
